package com.sugar.psych.assessment.module.business.controller.admin.userpsychassessmentrecord.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 用户心理测评记录新增/修改 Request VO")
@Data
public class UserPsychAssessmentRecordSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "17871")
    private Long id;

    @Schema(description = "用户Id", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long userId;

    @Schema(description = "标题", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "标题不能为空")
    private String title;

    @Schema(description = "风险等级（字典表：business_psych_question_risk_level）")
    private String riskLevel;

    @Schema(description = "是否完成（0否 1是）", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "是否完成（0否 1是）不能为空")
    private Boolean done;

}